package ${package.Controller};

import ${package.Entity}.${entity};
import ${package.Service}.${table.serviceName};
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;

/**
* <p>
* ${table.comment!} controller控制器
* </p>
*
* @author ${author}
* @since ${date}
*/

@RestController
//@RequestMapping("<#if package.ModuleName??>/${package.ModuleName}</#if>/${table.entityPath}")
@RequestMapping("<#if package.ModuleName??>/${package.ModuleName}</#if>")
public class ${table.controllerName} {
       @Autowired
       private ${table.serviceName} ${table.serviceName?uncap_first};
}
